import creature.Person;

import java.util.Scanner;

public class Main {
    public static void main (String[] args){
        Scanner in=new Scanner(System.in);
        Sense sense=new Sense();
        Game game = new Game();
        sense.initSense();
        sense.printWelcome();

        while ( true ) {
            String line = in.nextLine();
            String[] words = line.split(" ");
            if ( words[0].equals("help") ) {
                game.printHelp();
            } else if (words[0].equals("go") ) {
                game.goRoom(words[1]);
            } else if (words[0].equals("fight1")) {
                sense.play1();
            } else if (words[0].equals("play")) {
                sense.fightMode();
            }else if ( words[0].equals("bye") ) {
                break;
            }else if ( words[0].equals("check大堂") ) {
                sense.audienceHall();
            }else if ( words[0].equals("check城堡外围") ) {
                sense.outside();
            }else if ( words[0].equals("check秘偶书房") ) {
                sense.study();
            } else if ( words[0].equals("checkBOSS房") ) {
                    sense.BOSS();
            }

        }



    }


}

